Meaning of the word "ask a silly question and you'll get a silly answer" in English

What does "ask a silly question and you'll get a silly answer" mean in English? Explore the meaning, pronunciation, and specific usage of this word with Lingoland.

ask a silly question and you'll get a silly answer

US /æsk ə ˈsɪli ˈkwɛstʃən ænd juːl ɡɛt ə ˈsɪli ˈænsər/
UK /ɑːsk ə ˈsɪli ˈkwɛstʃən ənd juːl ɡɛt ə ˈsɪli ˈɑːnsə/
"ask a silly question and you'll get a silly answer" picture

Idiom

used to say that if you ask a question that is stupid or unnecessary, you should not expect a serious or sensible answer

Example:
A: 'Are you going to eat that whole cake?' B: 'Ask a silly question and you'll get a silly answer.'
I know it was obvious, but ask a silly question and you'll get a silly answer.